class ParentA:
    def method(self):
        print('ParentA method')

class ParentB:
    def method(self):
        print('ParentB method')

    def method2(self):
        print('ParentB method2')

class Child(ParentA,ParentB):
    def method(self):
        print('ParentC method')


c = Child()

c.method()


c.method2()